package cn.hs.entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @TableName coursetalk
 */
@Data
public class CourseTalk implements Serializable {
    /**
     * 
     */
    private Integer id;

    /**
     * 交流题目
     */
    private String title;

    /**
     * 交流创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;

    /**
     * 交流的课程id
     */
    private Integer courseId;

    /**
     * 交流用户id
     */
    private Integer userId;
    private String userName;

    private Integer replyCount;
}